package com.catering.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.catering.pojo.DDishCategories;
import com.catering.service.DDishCategoriesService;
import com.catering.mapper.DDishCategoriesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 徐
* @description 针对表【d_dish_categories】的数据库操作Service实现
* @createDate 2025-04-03 14:05:59
*/
@Service
public class DDishCategoriesServiceImpl extends ServiceImpl<DDishCategoriesMapper, DDishCategories>
    implements DDishCategoriesService{
    @Autowired
    private DDishCategoriesMapper dDishCategoriesMapper;

    @Override
    public List<DDishCategories> selectByType() {
        List<DDishCategories> dDishCategories = dDishCategoriesMapper.selectByType();
        return dDishCategories;
    }
}




